package com.zte.cl.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "user_info", catalog = "im")
public class UserInfo {

	private Integer recordid;
	private String companyid;
	private String app_sys_ids;
	private String userjid;
	private String userjidpassword;
	private String userid;
	private String ssuserid;
	private String ssuserpwd;
	private String ssport;
	private String ssip;
	private String name;
	private String name_initials;
	private String name_pinyin;
	private String nickname;
	private Long department;
	private String cardtype;
	private String cardid;
	private String email;
	private String email2;
	private String email3;
	private String mobilephone;
	private String mobilephone2;
	private String mobilephone3;
	private String telephone;
	private String positionlevel;
	private String positon;
	private Double portraitid;
	private Integer status;
	private String creator;
	private Date createdate;
	private String updatedby;
	private Date updateddate;
	private String showname;
	private String shownickname;
	private String showstaffid;
	private String showtelphone;
	private String annotation;
	private String enable_flag;
	private String memo;
	private String img_head;
	private String sign_name;
	private String serial_num;
	private String is_gaga_mbluser;
	private Integer authentication;
	private String address;
	private String sex;
	private Boolean datasync;
	private String pid;
	private String allinfo;
	private Boolean sync_wangyun;
	private String sync_wangyun_msg;
	private Integer sync_wangyun_error_type;

	@Id
	@GeneratedValue
	public Integer getRecordid() {
		return recordid;
	}

	public void setRecordid(Integer recordid) {
		this.recordid = recordid;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public String getApp_sys_ids() {
		return app_sys_ids;
	}

	public void setApp_sys_ids(String app_sys_ids) {
		this.app_sys_ids = app_sys_ids;
	}

	public String getUserjid() {
		return userjid;
	}

	public void setUserjid(String userjid) {
		this.userjid = userjid;
	}

	public String getUserjidpassword() {
		return userjidpassword;
	}

	public void setUserjidpassword(String userjidpassword) {
		this.userjidpassword = userjidpassword;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getSsuserid() {
		return ssuserid;
	}

	public void setSsuserid(String ssuserid) {
		this.ssuserid = ssuserid;
	}

	public String getSsuserpwd() {
		return ssuserpwd;
	}

	public void setSsuserpwd(String ssuserpwd) {
		this.ssuserpwd = ssuserpwd;
	}

	public String getSsport() {
		return ssport;
	}

	public void setSsport(String ssport) {
		this.ssport = ssport;
	}

	public String getSsip() {
		return ssip;
	}

	public void setSsip(String ssip) {
		this.ssip = ssip;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName_initials() {
		return name_initials;
	}

	public void setName_initials(String name_initials) {
		this.name_initials = name_initials;
	}

	public String getName_pinyin() {
		return name_pinyin;
	}

	public void setName_pinyin(String name_pinyin) {
		this.name_pinyin = name_pinyin;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Long getDepartment() {
		return department;
	}

	public void setDepartment(Long department) {
		this.department = department;
	}

	@Column(columnDefinition = "char")
	public String getCardtype() {
		return cardtype;
	}

	public void setCardtype(String cardtype) {
		this.cardtype = cardtype;
	}

	public String getCardid() {
		return cardid;
	}

	public void setCardid(String cardid) {
		this.cardid = cardid;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail2() {
		return email2;
	}

	public void setEmail2(String email2) {
		this.email2 = email2;
	}

	public String getEmail3() {
		return email3;
	}

	public void setEmail3(String email3) {
		this.email3 = email3;
	}

	public String getMobilephone() {
		return mobilephone;
	}

	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}

	public String getMobilephone2() {
		return mobilephone2;
	}

	public void setMobilephone2(String mobilephone2) {
		this.mobilephone2 = mobilephone2;
	}

	public String getMobilephone3() {
		return mobilephone3;
	}

	public void setMobilephone3(String mobilephone3) {
		this.mobilephone3 = mobilephone3;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getPositionlevel() {
		return positionlevel;
	}

	public void setPositionlevel(String positionlevel) {
		this.positionlevel = positionlevel;
	}

	public String getPositon() {
		return positon;
	}

	public void setPositon(String positon) {
		this.positon = positon;
	}

	@Column(columnDefinition = "decimal")
	public Double getPortraitid() {
		return portraitid;
	}

	public void setPortraitid(Double portraitid) {
		this.portraitid = portraitid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Temporal(TemporalType.TIMESTAMP)
	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getUpdatedby() {
		return updatedby;
	}

	public void setUpdatedby(String updatedby) {
		this.updatedby = updatedby;
	}

	@Temporal(TemporalType.TIMESTAMP)
	public Date getUpdateddate() {
		return updateddate;
	}

	public void setUpdateddate(Date updateddate) {
		this.updateddate = updateddate;
	}

	@Column(columnDefinition = "char")
	public String getShowname() {
		return showname;
	}

	public void setShowname(String showname) {
		this.showname = showname;
	}

	@Column(columnDefinition = "char")
	public String getShownickname() {
		return shownickname;
	}

	public void setShownickname(String shownickname) {
		this.shownickname = shownickname;
	}

	@Column(columnDefinition = "char")
	public String getShowstaffid() {
		return showstaffid;
	}

	public void setShowstaffid(String showstaffid) {
		this.showstaffid = showstaffid;
	}

	@Column(columnDefinition = "char")
	public String getShowtelphone() {
		return showtelphone;
	}

	public void setShowtelphone(String showtelphone) {
		this.showtelphone = showtelphone;
	}

	public String getAnnotation() {
		return annotation;
	}

	public void setAnnotation(String annotation) {
		this.annotation = annotation;
	}

	@Column(columnDefinition = "char")
	public String getEnable_flag() {
		return enable_flag;
	}

	public void setEnable_flag(String enable_flag) {
		this.enable_flag = enable_flag;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Lob
	@Column(columnDefinition = "mediumblob")
	public String getImg_head() {
		return img_head;
	}

	public void setImg_head(String img_head) {
		this.img_head = img_head;
	}

	public String getSign_name() {
		return sign_name;
	}

	public void setSign_name(String sign_name) {
		this.sign_name = sign_name;
	}

	public String getSerial_num() {
		return serial_num;
	}

	public void setSerial_num(String serial_num) {
		this.serial_num = serial_num;
	}

	@Column(columnDefinition = "char")
	public String getIs_gaga_mbluser() {
		return is_gaga_mbluser;
	}

	public void setIs_gaga_mbluser(String is_gaga_mbluser) {
		this.is_gaga_mbluser = is_gaga_mbluser;
	}

	public Integer getAuthentication() {
		return authentication;
	}

	public void setAuthentication(Integer authentication) {
		this.authentication = authentication;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Column(columnDefinition = "tinyint")
	public Boolean getDatasync() {
		return datasync;
	}

	public void setDatasync(Boolean datasync) {
		this.datasync = datasync;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getAllinfo() {
		return allinfo;
	}

	public void setAllinfo(String allinfo) {
		this.allinfo = allinfo;
	}

	@Column(columnDefinition = "tinyint")
	public Boolean getSync_wangyun() {
		return sync_wangyun;
	}

	public void setSync_wangyun(Boolean sync_wangyun) {
		this.sync_wangyun = sync_wangyun;
	}

	public String getSync_wangyun_msg() {
		return sync_wangyun_msg;
	}

	public void setSync_wangyun_msg(String sync_wangyun_msg) {
		this.sync_wangyun_msg = sync_wangyun_msg;
	}

	public Integer getSync_wangyun_error_type() {
		return sync_wangyun_error_type;
	}

	public void setSync_wangyun_error_type(Integer sync_wangyun_error_type) {
		this.sync_wangyun_error_type = sync_wangyun_error_type;
	}

}
